<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>江苏省中等职业院校评估系统</title>
	<meta name="keywords" content="江苏省中等职业院校评估系统">
	<meta name="description" content="江苏省中等职业院校评估系统">

	<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="../../basic/style/base.css" />
	<link rel="stylesheet" href="../../models/admin/css/home.css"/>
	<link rel="stylesheet" href="../../models/admin/css/auth_step.css"/>
	<link rel="stylesheet" href="../../models/admin/css/allInstitution.css"/>
    <script src="../../plugin/angular/angular.min.js"></script>
    <script src="../../models/admin/js/allInstitution.js"></script>
    <script src="../../plugin/bootstrap/ui-bootstrap-tpls.js"></script>
    <script src="../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../basic/js/source.js"></script>
    <script src="../../basic/javascript/funcs.js"></script>
    <script src="../../basic/js/directive.js"></script>
    
</head>

<body>
	<div authheader></div>
	<div class="main-content" ng-controller="fcontroller">
		<div leftaside></div>
		<aside>
			<div class="top-bar"><span>全省学校名录</span></div>
			<section class="row" style="padding:0 25px; margin-top:10px;">
				<div ng-controller="allInstitutionList">
					<div class="whole-cover" ng-hide="isAddM"></div>
					<div class="add-form" ng-hide="isAddM">
						<div>添加学校</div>
						<div>
							<span>学校编码：</span><input type="text" ng-model="newaccount" placeholder="请输入学校编码"/>
						</div>
						<div>
							<span>学校名称：</span><input type="text" ng-model="newschoolName" placeholder="请输入学校名称"/>
						</div>
						<div>
							<span>城市编码：</span><input type="text" ng-model="cityName" placeholder="请输入城市编码"/>
						</div>
						<div>
							<span>学校类型：</span>
							<select type="text" ng-model="schoolType" placeholder="请输入学校类型">
								<option value="">选择学校类型</option>
								<option value="1495071155575000">现代化示范性职业学校</option>
								<option value="1495071155575001">优质特色学校</option>
							</select>
						</div>
						<div>
							<span>参评年度：</span>
							<select type="text" ng-model="year" placeholder="请输入参评年度">
								<option value="">选择参评年度</option>
								<option value="2016">2016</option>
								<option value="2017">2017</option>
								<option value="2018">2018</option>
								<option value="2019">2019</option>
								<option value="2020">2020</option>
								<option value="2021">2021</option>
								<option value="2022">2022</option>
								<option value="2023">2023</option>
								<option value="2024">2024</option>
								<option value="2025">2025</option>
								<option value="2026">2026</option>
							</select>
						</div>
						<div><div ng-hide="isclickBtn" ng-click="addFirstZ()">确认</div><div ng-click="cancelAddM()">取消</div></div>
					</div>
					<div class="">
					</div>
					
					<div class="whole-cover" ng-hide="isAddPwd"></div>
					<div class="add-form" ng-hide="isAddPwd">
						<div>重置密码</div>
						<div>
							<span class="pwdspan">账号：</span><input type="text" ng-model="account" placeholder="请输账号"/>
						</div>
						<div>
							<span class="pwdspan">类型：</span>
							<select type="text" class="fl select01 mr15" ng-change="myFunc()" ng-model="sel" placeholder="">
								<option value="">选择查询条件</option>
								<option value="0">学校</option>
								<option value="1">材料专家</option>
								<option value="2">考察专家</option>
								<option value="3">系统管理员</option>
							</select>
						</div>
						<div><div ng-click="updatePwd()">重置密码</div><div ng-click="cancelAddPwd()">取消</div></div>
					</div>
					<div class="">
					</div>
					<div class="top-check clearfix">
						<div class="fr btn-add btn mr15" ng-click="addM()">添加</div>
					</div>
					<div class="list-content">
						<div class="cooleList title">
							<div class="detail-part">
								<ul>
									<li>账号</li>
									<li>城市名</li>
									<li>学校</li>
									<li>类型</li>
									<li>操作</li>
								</ul>
							</div>
							<!--<div class="detail-bot">操作</div>-->
							
						</div>
						<div ng-repeat="arraylist in list" class="cooleList" ng-if="list.length > 0">
							<div class="detail-part">
								<ul>
									<li ng-bind="arraylist.p_id?arraylist.p_id:'-'" title="{{arraylist.p_id}}">账号</li>
									<li ng-bind="arraylist.cityName?arraylist.cityName:'-'" title="{{arraylist.cityName}}">城市名</li>
									<li ng-bind="arraylist.s_name?arraylist.s_name:'-'" title="{{arraylist.s_name}}">学校</li>
									<li ng-bind="arraylist.p_type?arraylist.p_type:'-'" title="{{arraylist.p_type}}">类型</li>
									<li>
									  <span class="action" style="color:#169BD5;cursor:pointer;" ng-click="updatePwd(arraylist.p_id)">重置密码</span>
									  <span class="action" style="color:#169BD5;cursor:pointer;" ng-click="delete(arraylist.p_id)">删除</span>
									  <span class="action" style="color:#169BD5;cursor:pointer;" ng-click="turnto(arraylist.p_id, 0)">问卷</span>
									  <span class="action" style="color:#169BD5;cursor:pointer;" ng-click="turnto(arraylist.p_id, 1)">问卷结果</span>
									</li>
								</ul>
							</div>
							<!--<div class="detail-bot">
								<span class="action" style="color:#169BD5;cursor:pointer;" ng-click="queryAuthSchoolInfoById(arraylist.pid)">修改信息</span>
								<span class="action" style="color:#169BD5;cursor:pointer;" ng-click="addPwd(arraylist.account)">修改密码</span>
								<span class="action" style="color:#169BD5;cursor:pointer;" ng-click="delCollect(arraylist.pid)">删除</span>
							</div>-->
						</div>
						<div ng-if="list.length > 0" style="padding: 10px">共{{totalCount}}条</div>
						<div class="cooleList" style="text-align: center;padding:10px" ng-if="list.length == 0">
							暂无相关数据
						</div>
					</div>
					<section ng-controller="pageDemo" class="col-md-7 pull-right" ng-show = "totalCount > pageSize">
						<pagination total-items="bigTotalItems" ng-model="currentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages" items_per_page="itemsPerPage" callback="pageChanged()" previous-text="上一页" next-text="下一页" first-text="首页" last-text="尾页"></pagination>
					</section>
				</div>
		    </section>
		</aside>
	</div>
	<div authfooter></div>
</body>
</html>
